import java.util.Scanner;
public class Test {
    public static void main(String[] args) {
        Equip a = new Equip();
        System.out.println("请输入密码：");
        Scanner sc = new Scanner(System.in);
        String keyWord = sc.nextLine();
        if(keyWord.equals(a.getKeyWord())){
            System.out.println("密码正确！");
        } else{
            KeywordError k = new KeywordError();
            System.out.println(k.getMessage());
        }
    }
}
